There Is a Better Way! But first...
Prerequisite: The Java Native Interface (JNI)
JNI provides binary VM independence for
native methods
Allows Java licensees to write and compile one version of a native method library for each platform
Allows Virtual Machine vendors to improve Virtual Machine technology
The JNI is available now in the JDKTM 1.1 release

Return to Tracks